package cn.kongwg.service;

import cn.kongwg.dao.UserDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author kongwg
 * @create 2021-02-24 11:49
 */

public class UserServiceImpl implements UserService{
    @Autowired
    private UserDao userDao;
    @Override
    public String findUser() {

        System.out.println("方法执行中");
//        int i=1/0;
        return userDao.findUser();
    }
}
